package com.example.demo.repository;

import com.example.demo.entity.Fee_list;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface Fee_listRepository extends JpaRepository<Fee_list,Integer> {

    @Query(value = "select * from fee_list where activity_id = %?1;",nativeQuery = true)
    List<Fee_list> findByActivity_id(Integer actId);
}
